
a = list(range(1, 11))

def fn(a):
    return a%2 == 1

new_list = filter(fn, a)
new_list = [i for i in new_list]

print(new_list)